import { createStore } from 'redux'  // 引入createStore方法

import reducer from './reducer'

const store = createStore(reducer)     //创建store仓库

export default store    // 暴露出去